//
//  HomeFlowBannerTopicCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/23.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SDCycleScrollView.h"
#import "HomeADItemModel.h"
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, HomeFlowTopicActionType) {
    //
    HomeFlowTopicActionType_more,
    //
    HomeFlowTopicActionType_index
};

@interface HomeFlowBannerTopicCell : UICollectionViewCell

@property (nonatomic, strong) SDCycleScrollView *bannerView;

@property (weak, nonatomic) IBOutlet UIView *bannerControl;

@property (weak, nonatomic) IBOutlet UIView *topicControl;

@property (weak, nonatomic) IBOutlet UIView *communityControl1;
@property (weak, nonatomic) IBOutlet UIView *communityControl2;
@property (weak, nonatomic) IBOutlet UIView *communityControl3;
@property (weak, nonatomic) IBOutlet UIView *communityControl4;

@property (weak, nonatomic) IBOutlet UILabel *communityLab1;
@property (weak, nonatomic) IBOutlet UILabel *communityLab2;
@property (weak, nonatomic) IBOutlet UILabel *communityLab3;
@property (weak, nonatomic) IBOutlet UILabel *communityLab4;


@property (nonatomic, strong) HomeADItemModel *model;


@property (nonatomic, copy) void(^CycleImgClickedBlock )(NSInteger index);

@property (nonatomic, copy) void(^HomeFlowTopicBlock)(HomeFlowTopicActionType type, NSInteger index);



+ (CGFloat)calculateHeight;

- (void)fillCellWithModel:(HomeADItemModel *)model;
@end

NS_ASSUME_NONNULL_END
